package com.bjpowernode.services;

import com.bjpowernode.beans.Message;
import com.bjpowernode.exception.MyException;
import org.springframework.stereotype.Service;

import java.util.ArrayList;


public interface MessageServices {

    //查询所有
    ArrayList<Message> getAll();
    //添加
    void add(Message message) throws MyException;
    //删除
    void del(int[] id) throws MyException;


}
